Predefined Constants

Math Constants

Name Keystroke Default Value
∞ [Ctrl] [Shift] Z 10307
e e Value of e to 17 digits: 2.7182818284590451
π [Ctrl] [Shift] p or p [Ctrl] g Value of π to 17 digits: 3.1415926535897931
γ g [Ctrl] g Value of γ (Euler's constant) to 17 digits: 0.5772156649015329
i or j 1i or 1j The imaginary unit.
% % 0.01; multiplying by % gives you the appropriate conversion. You can type [expression]% for inferred multiplication or use it in the unit placeholder.
NaN NaN Not a number.

These constants retain their exact values in symbolic calculations. To redefine the value of any of these constants, use the equal sign for definition (:=) as you do to define any variable.

System Constants

Name Default Value Use
TOL .001 Controls iterations on some numerical methods.
CTOL .001 Controls convergence tolerance in Solve Blocks.
ORIGIN 0 Controls array indexing.
PRNPRECISION
PRNCOLWIDTH
4
8
Controls data file writing preferences.
CWD current working directory in the form of a string variable Can be used as an argument to file handling functions.
FRAME 0 Controls animations.
ERR NA Size of the sum of squares error for the approximate solution to a Solve Block.
1L, 1M, 1T, 1Q, 1K, 1C, and 1S assigned by the selected unit system Define custom unit definitions for the base dimensions.

To redefine system constants, use the equal sign for definition (:=) in your worksheet, as you do to define any variable, or choose Worksheet Options from the Tools menu, and go to the Built-in Variables tab.

The following constant can only be evaluated using the symbolic equal sign or the Symbolics menu. It cannot be evaluated using the equal sign for evaluation (=).

Name Meaning Default Value
Catalan Catalan's constant Catalan float, 17 →0.91596559417721902

See the following QuickSheet for examples.

QuickSheet - Symbolic Constants